package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单信息
 * </p>
 *
 * @author qubaofeng
 * @since 2025-02-16
 */
@Getter
@Setter
@TableName("ding_dan")
public class DingDan extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 档口id
     */
    private Long dangKouId;

    @TableField(exist = false)
    private String dangKouName;

    /**
     * 仓库id
     */
    private Long cangKuId;

    @TableField(exist = false)
    private String cangKuName;

    /**
     * 订单日期
     */
    private LocalDate riQi;

    /**
     * 订单时间
     */
    private String shiJian;

    /** 是否是草稿 **/
    private Integer caoGao;

    /** 审核状态 **/
    private Integer status;

    /** 审核原因**/
    private String statusReason;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    @TableField(exist = false)
    private List<DingDanDetail> list;
}
